package com.github.xuchen93.forlaozeng.opreate_1;

import java.util.Scanner;

/**
 * @author xuchen.wang
 */
public class Subject_4 {
	private static final double PI = 3.14;

	public static void main(String[] args) {
		System.out.println("请输入半径");
		Scanner scanner = new Scanner(System.in);
		try {
			double v = scanner.nextDouble();
			System.out.println("体积为："+v*v*v*PI*4/3);
		} catch (Exception e){
			System.out.println("输入的半径有误");
		}
	}
}
